﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SGuildWarPlayerScore extends Object
    {
        public var playerId:SEntityId;
        public var guildId:SEntityId;
        public var playerName:String;
        public var guildName:String;
        public var combat:int;
        public var career:int;
        public var kill:int;
        public var assist:int;
        public var killed:int;
        public var exploit:int;
        public var contribute:int;

        public function SGuildWarPlayerScore()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            this.playerId.__write(param1);
            this.guildId.__write(param1);
            param1.writeString(this.playerName);
            param1.writeString(this.guildName);
            param1.writeInt(this.combat);
            param1.writeInt(this.career);
            param1.writeInt(this.kill);
            param1.writeInt(this.assist);
            param1.writeInt(this.killed);
            param1.writeInt(this.exploit);
            param1.writeInt(this.contribute);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.playerId = new SEntityId();
            this.playerId.__read(param1);
            this.guildId = new SEntityId();
            this.guildId.__read(param1);
            this.playerName = param1.readString();
            this.guildName = param1.readString();
            this.combat = param1.readInt();
            this.career = param1.readInt();
            this.kill = param1.readInt();
            this.assist = param1.readInt();
            this.killed = param1.readInt();
            this.exploit = param1.readInt();
            this.contribute = param1.readInt();
            return;
        }// end function

    }
}
